This is For Print Formatting


In [1]:
x = "This is a string"

In [2]:
print(x)


This is a string

In [4]:
var1 = "First"
var2 = "Second"
var3  = "Third"
print("This 3rd {} is {} and 2nd {}".format(var3,var1,var2))


This 3rd Third is First and 2nd Second

In [ ]: